Part Number Hot Search : 
JX322 2805S VE8825A B80C800 LYU5000 2SA1837 2SK24 05111
Product Description
Full Text Search
 

To Download MB89160 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ds07-12405- 3 e fujitsu semiconductor data sheet 8-bit propr i etar y microcontroller cmos f 2 mc-8l MB89160/160a series mb89161/163/165/p165/pv160/w165 mb89161a/163a/165a n description the MB89160 series is a line of the general-purpose, single-chip microcontrollers. in addition to a compact instruction set, the microcontrollers contain a variety of peripheral functions such as an lcd controller/driver, an a/d converter, timers, a serial interface, pwm timers, and external interrupts. n features ?f 2 mc-8l family cpu core ? dual-clock control system ? maximum memory size: 16-kbyte rom, 512-byte ram (max.) ? minimum execution time: 0.95 m s/4.2 mhz ? i/o ports: max. 54 channels ? 21-bit time-base counter ? 8/16-bit timer/counter: 2 or 1 channels ? 8-bit serial i/o: 1 channel ? external interrupts (wake-up function): four channels with edge selection plus eight level-interrupt channels ? 8-bit a/d converter: 8 channels ? 8-bit pwm timers: 2 channels ? watch prescaler (15 bits) ? lcd controller/driver: 24 segments 4 commons (max. 96 pixels) ? lcd driving reference voltage generator and booster (option) ? remote control transmission output ? buzzer output ? power-on reset function (option) ? low-power consumption modes (stop, sleep, and watch mode) ?cmos technology
2 MB89160/160a series n pac k ag e (ftp-80p-m05) (fpt-80c-a02) (mqp-80c-p01) 80-pin ceramic mqfp 80-pin plastic sqfp 80-pin ceramic qfp (ftp-80p-m06) (ftp-80p-m11) 80-pin plastic qfp 80-pin plastic qfp
3 MB89160/160a series n product lineup (continued) mb89161/ mb89161a *1 mb89163/ mb89163a *1 mb89165/ mb89165a *1 mb89p165 mb89w165 mb89pv160 classification mass production products (mask rom products) one-time prom product eprom product piggyback/ evaluation product (for development) rom size 4 k 8 bits (internal mask rom) 8 k 8 bits (internal mask rom) 16 k 8 bits (internal mask rom) 16 k 8 bits (internal prom, programming with general-purpose eprom programmer) 32 k 8 bits (external rom) ram size 128 8 bits 256 8 bits 512 8 bits cpu functions number of instructions: 136 instruction bit length: 8 bits instruction length: 1 to 3 bytes data bit length: 1, 8,16 bits minimum execution time: 0.95 m s/4.2 mhz interrupt processing time: 9 m s/4.2 mhz ports i/o port (n-ch open-drain): 8 (6 ports also serve as peripherals, 3 ports are a heavy-current drive type.) output ports (n-ch open-drain): 28 (16 ports also serve as segment pins, 2 ports serve as booster capacitor connection pins, 2 ports serve as common pins.) *3 (8 ports also serve as an a/d input) i/o ports (cmos): 16 (12 ports also serve as an external interrupt) output ports (cmos): 2 (also serve as peripherals) total: 54 (max.) timer/counter 8-bit timer operation (toggled output capable, operating clock cycle 1.9 m s to 486 m s) 16-bit timer operation (toggled output capable, operating clock cycle 1.9 m s to 486 m s) serial i/o 8 bits lsb first/msb first selectability one clock selectable from four operation clocks (one external shift clock, three internal shift clocks: 1.9 m s, 7.6 m s, 30.4 m s) lcd controller/ driver common output: 4 (max.) segment output: 24 (max.) *3 bias power supply pins: 4 lcd display ram size: 24 4 bits booster for lcd driving: built-in (product with a booster) *3 dividing resistor for lcd driving: built-in (an external resistor selectability) without a booster for lcd driving a/d converter 8-bit resolution 8 channels a/d conversion mode (conversion time 43 m s/4.2 mhz (44 instruction cycles)) sense mode (conversion time 11.9 m s/4.2 mhz) continuous activation by an internal timer capable reference voltage input part number parameter
4 MB89160/160a series (continued) *1: products with an internal booster. *2: varies with conditions such as the operating frequency. (the operating voltage of the a/d converter is assured separately. see section n electrical characteristics.) *3: see section n mask options. n package and corresponding products : available : not available note: for more information about each package, see section n package dimensions. mb89161/ mb89161a *1 mb89163/ mb89163a *1 mb89165/ mb89165a *1 mb89p165 mb89w165 mb89pv160 pwm timer 1, pwm timer 2 8 bits 2 channels 8-bit reload timer operation (toggled output capable, operating clock cycle: 0.95 m s to 124 ms) 8-bit resolution pwm operation (conversion cycle: 243 m s to 32 s) external interrupt 1 (wake-up function) 4 independent channels (edge selectability) rising edge/falling edge selectability used also for wake-up from stop/sleep mode. (edge detection is also permitted in stop mode.) external interrupt 2 l level interrupts 8 channels buzzer output 1 (7 frequencies are selectable by the software.) remote control transmission output 1 (pulse width and cycle are software selectable.) standby modes subclock mode, sleep mode, stop mode, and watch mode process cmos operating voltage *2 2.2 v to 6.0 v (single clock)/ 2.2 v to 4.0 v (dual clock) 2.7 v to 6.0 v eprom for use mbm27c256a- 20tv package mb89161 mb89161a mb89163 mb89163a mb89165 mb89165a mb89pw165 mb89w165 mb89pv160 fpt-80p-m05 fpt-80p-m06 fpt-80p-m11 mqp-80c-p01 fpt-80c-a02 part number parameter
5 MB89160/160a series n differences among products 1. memory size before evaluating using the piggyback product, verify its differences from the product that will actually be used. take particular care on the following points: ? on the mb89161/a and mb89163/a, the upper half of each register bank cannot be used. ? the stack area, etc., is set at the upper limit of the ram. 2. current consumption ? in the case of the mb89pv160, add the current consumed by the eprom which is connected to the top socket. ? when operated at low speed, the product with an otprom (one-time prom) or an eprom will consume more current than the product with a mask rom. however, the current consumption in the sleep/stop modes is the same. (for more information, see section n electrical characteristics.) 3. mask options functions that can be selected as options and how to designate these options vary by the product. before using options check section n mask options. take particular care on the following points: ? a pull-up resistor cannot be set for p20 to p27 on the mb89p165. ? a pull-up resistor is not selectable for p40 to p47 and p60 to p67 if they are used as lcd pins. ? options are fixed on the mb89pv160.
6 MB89160/160a series n pin assignment 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 p46/seg22* 7 p47/seg23* 7 av ss avr av cc p50/an0 p51/an1 p52/an2 p53/an3 p54/an4 p55/an5 p56/an6 v ss p57/an7 x1 x0 mod1 mod0 rst p00/int20 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 seg1 seg0 p71/com3* 8 p70/com2* 8 com1 com0 v3 v cc v2 v1 v0 p33* 2 /c0* 1 p32* 2 /c1* 1 p31/pwm1 p30/rco/buz x1a x0a p27/pwm2* 3 p26* 3 p25/sck 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 p45/seg21* 7 p44/seg20* 7 p43/seg19* 6 p42/seg18* 6 p41/seg17* 6 p40/seg16* 6 p67/seg15* 5 p66/seg14* 5 p65/seg13* 5 p64/seg12* 5 p63/seg11* 4 p62/seg10* 4 p61/seg9* 4 p60/seg8* 4 seg7 seg6 seg5 seg4 seg3 seg2 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 p01/int21 p02/int22 p03/int23 p04/int24 p05/int25 p06/int26 p07/int27 p10/int10 p11/int11 p12/int12 p13/int13 p14 p15 p16 p17 p20/ec p21 * 3 p22/to p23/si p24/so (top view) (fpt-80p-m11) *1: for products with a booster circuit *2: for products without a booster circuit *3: n-ch open-drain heavy-current drive type *4 to *7: selected using the mask option (in units of 4 pins) *8: selected using the mask option (in units of 2 pins) note: for more information on mask option combinations of *4 to *8, see section n mask options."
7 MB89160/160a series 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 p44/seg20* 7 p45/seg21* 7 p46/seg22* 7 p47/seg23* 7 av ss avr av cc p50/an0 p51/an1 p52/an2 p53/an3 p54/an4 p55/an5 p56/an6 v ss p57/an7 x1 x0 mod1 mod0 rst p00/int20 p01/int21 p02/int22 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 seg3 seg2 seg1 seg0 p71/com3* 8 p70/com2* 8 com1 com0 v3 v cc v2 v1 v0 p33* 2 /c0* 1 p32* 2 /c1* 1 p31/pwm1 p30/rco/buz x1a x0a p27/pwm2* 3 p26* 3 p25/sck p24/so p23/si 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 p43/seg19* 6 p42/seg18* 6 p41/seg17* 6 p40/seg16* 6 p67/seg15* 5 p66/seg14* 5 p65/seg13* 5 p64/seg12* 5 p63/seg11* 4 p62/seg10* 4 p61/seg9* 4 p60/seg8* 4 seg7 seg6 seg5 seg4 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 p03/int23 p04/int24 p05/int25 p06/int26 p07/int27 p10/int10 p11/int11 p12/int12 p13/int13 p14 p15 p16 p17 p20/ec p21* 3 p22/to (top view) (fpt-80p-m06) (fpt-80c-a02) *1: for products with a booster circuit *2: for products without a booster circuit *3: n-ch open-drain heavy-current drive type *4 to *7: selected using the mask option (in units of 4 pins) *8: selected using the mask option (in units of 2 pins) note: for more information on mask option combinations of *4 to *8, see section n mask options.
8 MB89160/160a series 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 p46/seg22* 7 p47/seg23* 7 av ss avr av cc p50/an0 p51/an1 p52/an2 p53/an3 p54/an4 p55/an5 p56/an6 v ss p57/an7 x1 x0 mod1 mod0 rst p00/int20 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 seg1 seg0 p71/com3* 8 p70/com2* 8 com1 com0 v3 v cc v2 v1 v0 p33* 2 /c0* 1 p32* 2 /c1* 1 p31/pwm1 p30/rco/buz x1a x0a p27/pwm2* 3 p26* 3 p25/sck 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 p45/seg21* 7 p44/seg20* 7 p43/seg19* 6 p42/seg18* 6 p41/seg17* 6 p40/seg16* 6 p67/seg15* 5 p66/seg14* 5 p65/seg13* 5 p64/seg12* 5 p63/seg11* 4 p62/seg10* 4 p61/seg9* 4 p60/seg8* 4 seg7 seg6 seg5 seg4 seg3 seg2 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 p01/int21 p02/int22 p03/int23 p04/int24 p05/int25 p06/int26 p07/int27 p10/int10 p11/int11 p12/int12 p13/int13 p14 p15 p16 p17 p20/ec p21* 3 p22/to p23/si p24/so (top view) (fpt-80p-m05) *1: for products with a booster circuit *2: for products without a booster circuit *3: n-ch open-drain heavy-current drive type *4 to *7: selected using the mask option (in units of 4 pins) *8: selected using the mask option (in units of 2 pins) note: for more information on mask option combinations of *4 to *8, see section n mask options.
9 MB89160/160a series pin assignment on package top (mb89pv160 only) n.c.: internally connected. do not use. pin no. pin name pin no. pin name pin no. pin name pin no. pin name 81 n.c. 89 a2 97 n.c. 105 oe 82 v pp 90 a1 98 o4 106 n.c. 83 a12 91 a0 99 o5 107 a11 84 a7 92 n.c. 100 o6 108 a9 85 a6 93 o1 101 o7 109 a8 86 a5 94 o2 102 o8 110 a13 87 a4 95 o3 103 ce 111 a14 88 a3 96 v ss 104 a10 112 v cc 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 p44/seg20* 7 p45/seg21* 7 p46/seg22* 7 p47/seg23* 7 av ss avr av cc p50/an0 p51/an1 p52/an2 p53/an3 p54/an4 p55/an5 p56/an6 v ss p57/an7 x1 x0 mod1 mod0 rst p00/int20 p01/int21 p02/int22 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 seg3 seg2 seg1 seg0 p71/com3* 8 p70/com2* 8 com1 com0 v3 v cc v2 v1 v0 p33* 2 /c0* 1 p32* 2 /c1* 1 p31/pwm1 p30/rco/buz x1a x0a p27/pwm2* 3 p26* 3 p25/sck p24/so p23/si 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 p43/seg19* 6 p42/seg18* 6 p41/seg17* 6 p40/seg16* 6 p67/seg15* 5 p66/seg14* 5 p65/seg13* 5 p64/seg12* 5 p63/seg11* 4 p62/seg10* 4 p61/seg9* 4 p60/seg8* 4 seg7 seg6 seg5 seg4 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 p03/int23 p04/int24 p05/int25 p06/int26 p07/int27 p10/int10 p11/int11 p12/int12 p13/int13 p14 p15 p16 p17 p20/ec p21* 3 p22/to (top view) 101 102 103 104 105 106 107 108 109 93 92 91 90 89 88 87 86 85 100 99 98 97 96 95 94 110 111 112 81 82 83 84 (mqp-80c-p01) *1: for products with a booster circuit *2: for products without a booster circuit *3: n-ch open-drain heavy-current drive type *4 to *7: selected using the mask option (in units of 4 pins) *8: selected using the mask option (in units of 2 pins) note: for more information on mask option combinations of *4 to *8, see section n mask options.
10 MB89160/160a series n pin description (continued) *1: fpt-80p-m05 *2: fpt-80p-m11 *3: mqp-80c-p01 *4: fpt-80p-m06 pin no. pin name circuit type function sqfp *1 qfp *2 mqfp *3 qfp *4 16 18 x0 a main clock crystal oscillator pins cr oscillation selectability (mask products only) 15 17 x1 18 20 mod0 c operating mode selection pins connect directly to v ss . 17 19 mod1 19 21 rst d reset i/o pin this pin is an n-ch open-drain output type with a pull-up resistor, and a hysteresis input type. l is output from this pin by an internal reset source. the internal circuit is initialized by the input of l. 20 to 27 22 to 29 p00/int20 to p07/int27 e general-purpose i/o ports also serve as an external interrupt 2 input (wake-up function). external interrupt 2 input is hysteresis input. 28 to 31 30 to 33 p10/int10 to p13/int13 e general-purpose i/o ports also serve as an external interrupt 1 input. external interrupt 1 input is hysteresis input. 32 to 35 34 to 37 p14 to p17 f general-purpose i/o ports 36 38 p20/ec h n-ch open-drain general-purpose i/o port also serves as the external clock input for the timer. the peripheral is a hysteresis input type. 37 39 p21 i n-ch open-drain general-purpose i/o port 38 40 p22/to i n-ch open-drain general-purpose i/o port also serves as a timer output. 39 41 p23/si h n-ch open-drain general-purpose i/o port also serves as the data input for the serial i/o. the peripheral is a hysteresis input type. 40 42 p24/so i n-ch open-drain general-purpose i/o port also serves as the data output for the serial i/o. 41 43 p25/sck h n-ch open-drain general-purpose i/o port also serves as the clock i/o for the serial i/o. the peripheral is a hysteresis input type. 42 44 p26 i n-ch open-drain general-purpose i/o port 43 45 p27/pwm2 i n-ch open-drain general-purpose i/o port also serves as the square wave or pwm wave output for the 8-bit pwm timer 2. 49 51 p33 j functions as an n-ch open-drain general-purpose output port only in the products without a booster. c0 functions as a capacitor connection pin in the products with a booster.
11 MB89160/160a series (continued) *1: fpt-80p-m05 *2: fpt-80p-m11 *3: mqp-80c-p01 *4: fpt-80p-m06 pin no. pin name circuit type function sqfp *1 qfp *2 mqfp *3 qfp *4 48 50 p32 j functions as an n-ch open-drain general-purpose output port only in the products without a booster. c1 functions as a capacitor connection pin in the products with a booster. 47 49 p31/pwm1 g general-purpose output-only port also serves as the square wave or pwm wave output for the 8-bit pwm timer 1. 46 48 p30/rco/buz g general-purpose output-only port also serves as a buzzer output and a remote control transmission frequency output. 14, 12 to 6 16, 14 to 8 p57/an7 to p50/an0 l n-ch open-drain general-purpose output ports also serve as an analog input. 2, 1, 80 to 75 4 to 1 80 to 77 p47/seg23 to p40/seg16 j/k n-ch open-drain general-purpose output ports also serve as an lcd controller/driver segment output. switching between port and segment output is done by the mask option. 74 to 67 76 to 69 p67/seg15 to p60/seg8 j/k 66 to 59 68 to 61 seg7 to seg0 k lcd controller/driver segment output pins 58, 57 60, 59 p71/com3, p70/com2 j/k n-ch open-drain general-purpose output ports also serve as an lcd controller/driver common output. switching between port and common output is done by the mask option. 56, 55 58, 57 com1, com0 k lcd controller/driver common output-only pins 54, 52 to 50 56, 54 to 52 v3, v2 to v0 lcd driving power supply pins 44 46 x0a b subclock crystal oscillator pins (32.768 khz) 45 47 x1a 53 55 v cc power supply pin 13 15 v ss power supply (gnd) pin 57av ss a/d converter power supply pin use this pin at the same voltage as v cc . 4 6 avr a/d converter reference voltage input pin 35av ss a/d converter power supply pin use this pin at the same voltage as v ss .
12 MB89160/160a series external eprom pins (mb89pv160 only) pin no. pin name i/o function 82 v pp o h level output pin 83 84 85 86 87 88 89 90 91 a12 a7 a6 a5 a4 a3 a2 a1 a0 o address output pins 93 94 95 o1 o2 o3 i data input pins 96 v ss o power supply (gnd) pin 98 99 100 101 102 o4 o5 o6 o7 o8 i data input pins 103 ce o rom chip enable pin outputs h during standby. 104 a10 o address output pin 105 oe o rom output enable pin outputs l at all times. 107 108 109 a11 a9 a8 o address output pins 110 a13 o 111 a14 o 112 v cc o eprom power supply pin 81 92 97 106 n.c. internally connected pins be sure to leave them open.
13 MB89160/160a series n i/o circuit type (continued) type circuit remarks a main clock ? at an oscillation feedback resistor of approximately 1 m w /5.0 v ? cr oscillation is selectable (mb8916x/a only). b subclock ? at an oscillation feedback resistor of approximately 4.5 m w /5.0 v c d ? at an output pull-up resistor of approximately 50 k w /5.0 v ? hysteresis input e ? cmos i/o ? the peripheral is a hysteresis input type. ? pull-up resistor optional (not available on the mb89pv160.) x1 x0 standby control signal x1a x0a standby control signal r p-ch n-ch p-ch n-ch port peripheral p-ch r
14 MB89160/160a series (continued) (continued) type circuit remarks f?cmos i/o ? pull-up resistor optional (not available on the mb89pv160) g ? cmos output ? p-ch output is a heavy-current drive type. h ? n-ch open-drain i/o ? cmos input ? the peripheral is a hysteresis input type. ? p21, p26, and p27 are a heavy-current drive type. ? pull-up resistor optional (not available on the mb89p165/a, mb89w165/a and mb89pv160) i ? n-ch open-drain output ? cmos input ? pull-up resistor optional (not available on the mb89p165/a, mb89w165/a and mb89pv160) j ? n-ch open-drain output ? pull-up resistor optional (not available on the mb89p165/a, mb89w165/a and mb89pv160) ? p32 and p33 are not provided with a pull-up resistor. p-ch n-ch p-ch r p-ch n-ch port n-ch port peripheral p-ch r port n-ch p-ch r n-ch p-ch r
15 MB89160/160a series (continued) type circuit remarks k ? lcd controller/driver segment output l ? n-ch open-drain output ? analog input ? pull-up resistor optional (not available on the mb89pv160) p-ch n-ch p-ch n-ch n-ch p-ch analog input r p-ch
16 MB89160/160a series n handling devices 1. preventing latchup latchup may occur on cmos ics if voltage higher than v cc or lower than v ss is applied to input and output pins other than medium- to high-voltage pins or if higher than the voltage which shows on 1. absolute maximum ratings in section n electrical characteristics is applied between v cc to v ss . when latchup occurs, power supply current increases rapidly and might thermally damage elements. when using, take great care not to exceed the absolute maximum ratings. also, take care to prevent the analog power supply (av cc and avr) and analog input from exceeding the digital power supply (v cc ) when the analog system power supply is turned on and off. 2. treatment of unused input pins leaving unused input pins open could cause malfunctions. they should be connected to a pull-up or pull-down resistor. 3. treatment of power supply pins on microcontrollers with a/d and d/a converters connect to be av cc = davc = v cc and av ss = avr = v ss even if the a/d and d/a converters are not in use. 4. treatment of n.c. pin be sure to leave (internally connected) n.c. pins open. 5. power supply voltage fluctuations although v cc power supply voltage is assured to operate within the rated range, a rapid fluctuation of the voltage could cause malfunctions, even if it occurs within the rated range. stabilizing voltage supplied to the ic is therefore important. as stabilization guidelines, it is recommended to control power so that v cc ripple fluctuations (p-p value) will be less than 10% of the standard v cc value at the commercial frequency (50 to 60 hz) and the transient fluctuation rate will be less than 0.1 v/ms at the time of a momentary fluctuation such as when power is switched. 6. precautions when using an external clock even when an external clock is used, oscillation stabilization time is required for power-on reset (optional) and wake-up from stop mode.
17 MB89160/160a series n programming to the eprom on the mb89p165 the mb89p165 is an otprom version of the MB89160 series. 1. features ? 32-kbyte prom on chip ? options can be set using the eprom programmer. ? equivalency to the mbm27c256a in eprom mode (when programmed with the eprom programmer) 2. memory space memory space in each mode such as 32-kbyte prom, option area is diagrammed below. 3. programming to the eprom in eprom mode, the mb89p165 functions equivalent to the mbm27c256a. this allows the prom to be programmed with a general-purpose eprom programmer (the electronic signature mode cannot be used) by using the dedicated socket adapter. when the operating area for a single chip is 16 kbyte (c000 h to ffff h ) the prom can be programmed as follows: ? programming procedure (1) set the eprom programmer to the mbm27c256a. (2) load program into the eprom programmer at 4000 h to 7fff h . (note that addresses c000 h to ffff h while operating as a single chip assign to 4000 h to 7fff h in eprom mode.) load option data into address 3ff0 h to 3ff5 h of the eprom programmer. (for information about each corresponding option, see 8. setting otprom options.) (3) program with the eprom programmer. 0000 h ffff h i/o ram not available prom 16 kb 3ff6 h 7fff h not available eprom 16 kb single-chip eprom mode (corresponding addresses on the eprom programmer) 0080 h 0280 h not available not available not available 3ff0 h c000 h 4000 h option area not available 0000 h 8000 h address
18 MB89160/160a series 4. recommended screening conditions high-temperature aging is recommended as the pre-assembly screening procedure for a product with a blanked otprom microcomputer program. 5. programming yield all bits cannot be programmed at fujitsu shipping test to a blanked otprom microcomputer, due to its nature. for this reason, a programming yield of 100% cannot be assured at all times. 6. eprom programmer adapter socket 7. erasure in order to clear all locations of their programmed contents, it is necessary to expose the internal eprom to an ultraviolet light source. a dosage of 10 w-seconds/cm 2 is required to completely erase an internal eprom. this dosage can be obtained by exposure to an ultraviolet lamp (wavelength of 2537 angstroms (?)) with intensity of 12000 m w/cm 2 for 15 to 21 minutes. the internal eprom should be about one inch from the source and all filters should be removed from the uv light source prior to erasure. it is important to note that the internal eprom and similar devices, will erase with light sources having wavelengths shorter than 4000?. although erasure time will be much longer than with uv source at 2537?, nevertheless the exposure to fluorescent light and sunlight will eventually erase the internal eprom, and exposure to them should be prevented to realize maximum system reliability. if used in such an environment, the package windows should be covered by an opaque label or substance. package compatible adapter socket fpt-80p-m05 rom-80sqf-28dp-8l fpt-80p-m06 rom-80qf-28dp-8l3 fpt-80p-m11 rom-80qf2-28dp-8l2 program, verify aging +150 c, 48 hrs. data verification assembly
19 MB89160/160a series 8. setting otprom options the programming procedure is the same as that for the prom. options can be set by programming value at the addresses shown on the memory map. the relationship between bits and options is shown on the following bit map: otprom option bit map notes: ? set each bit to 1 to erase. ? do not write 0 to the vacant bit. the read value of the vacant bit is 1, unless 0 is written to it. bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 3ff0 h vacancy readable vacancy readable vacancy readable reset pin output 1: yes 0: no clock mode selection 1: dual clock 0: single clock power-on reset 1: yes 0: no wtm1 wtm0 see section n mask option. 3ff1 h p07 pull-up 1: no 0: yes p06 pull-up 1: no 0: yes p05 pull-up 1: no 0: yes p04 pull-up 1: no 0: yes p03 pull-up 1: no 0: yes p02 pull-up 1: no 0: yes p01 pull-up 1: no 0: yes p00 pull-up 1: no 0: yes 3ff2 h p17 pull-up 1: no 0: yes p16 pull-up 1: no 0: yes p15 pull-up 1: no 0: yes p14 pull-up 1: no 0: yes p13 pull-up 1: no 0: yes p12 pull-up 1: no 0: yes p11 pull-up 1: no 0: yes p10 pull-up 1: no 0: yes 3ff3 h p57 pull-up 1: no 0: yes p56 pull-up 1: no 0: yes p55 pull-up 1: no 0: yes p54 pull-up 1: no 0: yes p53 pull-up 1: no 0: yes p52 pull-up 1: no 0: yes p51 pull-up 1: no 0: yes p50 pull-up 1: no 0: yes 3ff4 h vacancy readable vacancy readable vacancy readable vacancy readable vacancy readable vacancy readable vacancy readable vacancy readable 3ff5 h vacancy readable vacancy readable vacancy readable vacancy readable vacancy readable vacancy readable vacancy readable vacancy readable oscillation stabilization time
20 MB89160/160a series n programming to the eprom with piggyback/evaluation device 1. eprom for use mbm27c256a-20tv 2. programming socket adapter to program to the prom using an eprom programmer, use the socket adapter (manufacturer: sun hayato co., ltd.) listed below. inquiry: sun hayato co., ltd.: tel 81-3-3802-5760 3. memory space memory space in each mode, such as 32-kbyte prom, option area is diagrammed below. 4. programming to the eprom (1) set the eprom programmer to the mbm27c256a. (2) load program data into the eprom programmer at 0000 h to 7fff h . (3) program to 0000 h to 7fff h with the eprom programmer. package adapter socket part number lcc-32 (rectangle) rom-32lc-28dp-yg ffff h prom 32 kb 7fff h eprom 32 kb single chip corresponding addresses on the eprom programmer 0000 h 0080 h i/o not available 8000 h 0000 h ram 0280 h address
21 MB89160/160a series n block diagram main clock oscillator clock controller subclock oscillator (32.768 khz) time-base timer external interrupt 2 (wake-up) cmos i/o port port 0 f 2 mc-8l cpu ram x0 x1 x0a x1a rst p00/int20 to p07/int27 rom port 2 8-bit serial buzzer output n-ch open-drain i/o port p21* 4 , p26* 4 p27/pwm2* 4 p25/sck p24/so p23/si reset circuit (wdt) 8-bit timer/counter n-ch open-drain output port n-ch open-drain i/o port (p30 and p31 are a cmos output type.) 4 8 4 4 8 4 4 8 p22/to p20/ec seg0 to seg7 v0 to v3 p40/seg16* 3 to p43/seg19 p60/seg8* 3 to p63/seg11 p64/seg12* 3 to p67/seg15 p33/c0* 2 lcd controller/driver watch prescaler timer 8-bit a/d converter n-ch open-drain output port p10/int10 to p13/int13 4 4 8 8 av cc avr av ss 8-bit pwm timer 2 8-bit timer/counter reference voltage generator and booster* 1 remote control output 8-bit pwm timer 1 8 2 p44/seg20* 3 to p47/seg23 2 p70/com2* 3 , p71/com3 2 com0, com1 24 4 bits vram p32/c1* 2 p31/pwm1 p30/rco/buz p50/an0 to p57/an7 p14 to p17 port 1 external interrupt 1 (wake-up) cmos i/o port internal bus port 4 port 6 and port 7 port 5 *1: selected by mask option *2: used as ports without a reference voltage generator and booster *3: functions selected by mask option. (for information on selecting procedure, see section n mask options.? *4: heavy-current drive type 8 4 other pins mod0, mod1, v cc , v ss
22 MB89160/160a series n cpu core 1. memory space the microcontrollers of the MB89160 series offer a memory space of 64 kbytes for storing all of i/o, data, and program areas. the i/o area is located at the lowest address. the data area is provided immediately above the i/o area. the data area can be divided into register, stack, and direct areas according to the application. the program area is located at exactly the opposite end, that is, near the highest address. provide the tables of interrupt reset vectors and vector call instructions toward the highest address within the program area. the memory space of the MB89160 series is structured as illustrated below. memory space mb89pv160 mb89161/a mb89163/a mb89165/a mb89p165 ffff h 8000 h 0280 h 0100 h 0080 h i/o ram 256 b not available external rom 32 kb 0000 h ffff h f000 h 0140 h 00c0 h 0080 h i/o ram 128 b register not available rom 4 kb 0000 h 0100 h ffff h e000 h 0180 h 0080 h i/o ram 256 b register not available rom 8 kb 0000 h 0100 h ffff h c000 h 0280 h 0100 h 0080 h i/o ram 512 b register not available rom 16 kb 0000 h 0200 h not available register 0200 h
23 MB89160/160a series 2. registers the f 2 mc-8l family has two types of registers; dedicated registers in the cpu and general-purpose registers in the memory. the following dedicated registers are provided: program counter (pc): a 16-bit register for indicating instruction storage positions accumulator (a): a 16-bit temporary register for storing arithmetic operations, etc. when the instruction is an 8-bit data processing instruction, the lower byte is used. temporary accumulator (t): a 16-bit register which performs arithmetic operations with the accumulator when the instruction is an 18-bit data processing instruction, the lower byte is used. index register (ix): a 16-bit register for index modification extra pointer (ep): a 16-bit pointer for indicating a memory address stack pointer (sp): a 16-bit register for indicating a stack area program status (ps): a 16-bit register for storing a register pointer, a condition code the ps can further be divide into higher 8 bits for use as a register bank pointer (rp) and the lower 8 bits for use as a condition code register (ccr). (see the diagram below.) pc a t ix ep sp ps 16 bits : program counter : accumulator : temporary accumulator : index register : extra pointer : stack pointer : program status fffd h undefined undefined undefined undefined undefined i-flag = 0, il1, 0 = 11 other bits are undefined. initial value structure of the program status register vacancy h i il1, 0 n z vc 54 rp ps 109876 3210 15 14 13 12 11 rp ccr vacancy vacancy
24 MB89160/160a series the rp indicates the address of the register bank currently in use. the relationship between the pointer contents and the actual address is based on the conversion rule illustrated below. the ccr consists of bits indicating the results of arithmetic operations and the contents of transfer data and bits for control of cpu operations at the time of an interrupt. h-flag: set when a carry or a borrow from bit 3 to bit 4 occurs as a result of an arithmetic operation. cleared otherwise. this flag is for decimal adjustment instructions. i-flag: interrupt is allowed when this flag is set to 1. interrupt is prohibited when the flag is set to 0. set to 0 when reset. il1, 0: indicates the level of the interrupt currently allowed. processes an interrupt only if its request level is higher than the value indicated by this bit. n-flag: set if the msb is set to 1 as the result of an arithmetic operation. cleared when the bit is set to 0. z-flag: set when an arithmetic operation results in 0. cleared otherwise. v-flag: set if the complement on 2 overflows as a result of an arithmetic operation. reset if the overflow does not occur. c-flag: set when a carry or a borrow from bit 7 occurs as a result of an arithmetic operation. cleared otherwise. set the shift-out value in the case of a shift instruction. il1 il0 interrupt level high-low 00 1 high low = no interrupt 01 10 2 11 3 rule for conversion of actual addresses of the general-purpose register area ? a15 ? a14 ? a13 ? a12 ? a11 ? a10 ? a9 ? a8 r4 a7 r3 a6 r2 a5 r1 a4 r0 a3 b2 a2 b1 a1 b0 a0 lower op codes rp generated addresses
25 MB89160/160a series the following general-purpose registers are provided: general-purpose registers: an 8-bit register for storing data the general-purpose registers are 8 bits and located in the register banks of the memory. one bank contains eight registers. up to a total of 16 banks can be used on the mb89163 (ram 256 8 bits), and a total of 32 banks can be used on the mb89165 (ram 256 8 bits). the bank currently in use is indicated by the register bank pointer (rp). note: the number of register banks that can be used varies with the ram size. register bank configuraiton this address = 0100 h + 8 (rp) memory area 16 banks (mb89163) 32 banks (mb89165) r 0 r 1 r 2 r 3 r 4 r 5 r 6 r 7
26 MB89160/160a series n i/o map (continued) address read/write register name register description 00 h (r/w) pdr0 port 0 data register 01 h (w) ddr0 port 0 data direction register 02 h (r/w) pdr1 port 1 data register 03 h (w) ddr1 port 1 data direction register 04 h (r/w) pdr2 port 2 data register 05 h (w) ddr2 port 2 data direction register 06 h vacancy 07 h (r/w) sycc system clock control register 08 h (r/w) stbc standby control register 09 h (r/w) wdte watchdog timer control register 0a h (r/w) tbtc time-base timer control register 0b h (r/w) wpcr watch prescaler control register 0c h (r/w) pdr3 port 3 data register 0d h vacancy 0e h (r/w) pdr4 port 4 data register 0f h (r/w) pdr5 port 5 data register 10 h (r/w) buzr buzzer register 11 h vacancy 12 h (r/w) pdr6 port 6 data register 13 h (r/w) pdr7 port 7 data register 14 h (r/w) rcr1 remote control transmission register 1 15 h (r/w) rcr2 remote control transmission register 2 16 h vacancy 17 h vacancy 18 h (r/w) t2cr timer 2 control register 19 h (r/w) t1cr timer 1 control register 1a h (r/w) t2dr timer 2 data register 1b h (r/w) t1dr timer 1 data register 1c h (r/w) smr serial mode register 1d h (r/w) sdr serial data register 1e h (r/w) cntr1 pwm 1 control register 1f h (w) comp1 pwm 1 compare register
27 MB89160/160a series (continued) note: do not use vacancies. address read/write register name register description 20 h (r/w) cntr2 pwm 2 control register 21 h (w) comp2 pwm 2 compare register 22 h to 2c h vacancy 2d h (r/w) adc1 a/d converter control register 1 2e h (r/w) adc2 a/d converter control register 2 2f h (r/w) adcd a/d converter data register 30 h (r/w) eie1 external interrupt 1 enable register 1 31 h (r/w) eif1 external interrupt 1 flag register 1 32 h (r/w) eie2 external interrupt 2 enable register 2 33 h (r/w) eif2 external interrupt 2 flag register 2 34 h to 5f h vacancy 60 h to 6b h (r/w) vram display data ram 6c h to 71 h vacancy 72 h (r/w) lcdr lcd controller/driver control register 1 73 h to 7b h vacancy 7c h (w) ilr1 interrupt level setting register 1 7d h (w) ilr2 interrupt level setting register 2 7e h (w) ilr3 interrupt level setting register 3 7f h access prohibited itr interrupt test register
28 MB89160/160a series n electrical characteristics 1. absolute maximum ratings (av ss = v ss = 0.0 v) (continued) parameter symbol value unit remarks min. max. power supply voltage v cc v ss C 0.3 v ss + 7.0 v av cc v ss C 0.3 v ss + 7.0 v av cc must not exceed v cc + 0.3 v. avr v ss C 0.3 v ss + 7.0 v avr must not exceed av cc + 0.3 v. lcd power supply voltage v0 to v3 v ss C 0.3 v ss + 7.0 v v0 to v3 on the product without booster must not exceed v cc . input voltage v i1 v ss C 0.3 v cc + 0.3 v v i1 must not exceed v ss + 7.0 v. all pins except p20 to p27 without a pull-up resistor v i2 v ss C 0.3 v ss + 7.0 v p20 to p27 without a pull-up resistor output voltage v o1 v ss C 0.3 v cc + 0.3 v v o1 must not exceed v ss + 7.0 v. all pins except p20 to p27, p32, p33, p40 to p47, and p60 to p67 without a pull-up resistor v o2 v ss C 0.3 v ss + 7.0 v p20 to p27, p32, p33, p40 to p47, and p60 to p67 without a pull-up resistor l level maximum output current i ol1 ? 10 ma all pins except p21, p26, and p27 i ol2 ? 20 ma p21, p26, and p27 l level average output current i olav1 ? 4ma all pins except p21, p26, p27, and power supply pins average value (operating current operating rate) i olav2 ? 8ma p21, p26, and p27 average value (operating current operating rate) l level total maximum output current s i ol ? 100 ma peak value l level total average output current s i olav ? 40 ma average value (operating current operating rate) h level maximum output current i oh1 ? C5 ma all pins except p30, p31, and power supply pins i oh2 ? C10 ma p30 and p31
29 MB89160/160a series (continued) (av ss = v ss = 0.0 v) precautions: parmanent device damage may occur if the above absolute maximum ratings are exceeded. func- tional operation should be restricted to the conditions as detailed in the operational sections of this data sheet. exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2. recommended operating conditions (av ss = v ss = 0.0 v) *1: the minimum operating power supply voltage varies with the execution time (instruction cycle time) setting for the operating frequency. a/d converter assurance accuracy varies with the operating power supply voltage. *2: p32 and p33 are applicable only for procucts of the MB89160 series (without a suffix). p40 to p47 and p60 to p67 are applicable when selected as ports. parameter symbol value unit remarks min. max. h level average output current i ohav1 C2ma all pins except p30, p31, and power supply pins average value (operating current operating rate) i ohav2 C4ma p30 and p31 average value (operating current operating rate) h level total maximum output current s i oh C50 ma peak value h level total average output current s i ohav C10ma average value (operating current operating rate) power consumption p d 300mw operating temperature t a C40 +85 c storage temperature tstg C55 +150 c parameter symbol value unit remarks min. max. power supply voltage v cc av cc 2.2 *1 6.0 *1 v normal operation assurance range *1 2.2 *1 4.0 v dual-clock mask rom products 2.7 6.0 v normal operation assurance range for mb89p165/a and mb89w165/a 1.5 6.0 v retains the ram state in stop mode avr 2.0 av cc v normal operation assurance range lcd power supply voltage v0 to v3 v ss v cc v v0 to v3 pins on the products without a booster lcd power supply range (the optimum value dependent on the lcd element in use.) eprom program power supply voltage v pp v ss + 13.0 v mod1 pin of the mb89p165 operating temperature t a C40 +85 c
30 MB89160/160a series figure 1 operating voltage vs. main clock operating frequency (single-clock mb8916x/a and mb89p165/pv160) 1 2 3 4 5 6 operation assurance range 1234 4.0 2.0 1.0 main clock operating frequency analog accurancy assured in the av cc = v cc = 3.5 v to 6.0 v range minimum execution time (instruction cycle) note: the shaded area is assured only for the mb8916x/a. (mhz) ( m s) operating voltage (v)
31 MB89160/160a series figure 2 operating voltage vs. main clock operating frequency (dual-clock mb8916x/a) figures 1 and 2 indicate the operating frequency of the external oscillator at an instruction cycle of 4/f ch . since the operating voltage range is dependent on the instruction cycle, see minimum execution time if the operating speed is switched using a gear. 1 2 3 4 5 6 1234 4.0 2.0 1.0 main clock operating frequency minimum execution time (instruction cycle) analog accurancy assured in the av cc = v cc = 3.5 v to 6.0 v range operation assurance range operating voltage (v) (mhz) ( m s)
32 MB89160/160a series 3. dc characteristics (1) pin dc characteristics (v cc = +5.0 v) (v ss = 0.0 v, t a = C40 c to +85 c) (continued) parameter symbol pin condition value unit remarks min. typ. max. h level input voltage v ih p00 to p07, p10 to p17, p20 to p27 ? 0.7 v cc ? v cc + 0.3 v v ihs rst , mod0, mod1, ec, si, sck, int10 to int13, int20 to int27 0.8 v cc ? v cc + 0.3 v l level input voltage v il p00 to p07, p10 to p17, p20 to p27 v ss - 0.3 ? 0.3 v cc v v ils rst , mod0, mod1, ec, si, sck, int10 to int13, int20 to int27 v ss - 0.3 ? 0.2 v cc v open-drain output pin application voltage v d1 p20 to p27, p33, p32, p40 to p47, p60 to p67 v ss - 0.3 ? v ss + 6.0 *2 v p20 to p27, p40 to p47, and p60 to p67 without pull- up resistor only v d2 p50 to p57 v ss - 0.3 ? v cc + 0.3 v h level output voltage v oh1 p00 to p07, p10 to p17 i oh = C2.0 ma 2.4 ?? v v oh2 p30, p31 i oh = C6.0 ma 4.0 ?? v l level output voltage v ol p00 to p07, p10 to p17, p20 to p27, p30 to p33, p40 to p47, p50 to p57, p60 to p67, p70 to p71 i ol = 1.8 ma ?? 0.4 v v ol2 p21, p26, p27 i ol = 8.0 ma ?? 0.4 v v ol3 rst i ol = 4.0 ma ?? 0.6 v input leakage current (hi-z output leakage current) i li1 p00 to p07, p10 to p17, mod0, mod1, p30, p31 0.45 v < v i < v cc ?? 5 m a without pull- up resistor
33 MB89160/160a series (continued) (v ss = 0.0 v, t a = C40 c to +85 c) note: for pins which serve as the segment (seg8 to seg24) and ports (p40 to p47, p50 to p57, and p60 to p67), see the port parameter when these pins are used as ports and the segment parameter when they are used as segments. p32 and p33 are applicable only for products of the MB89160 series (without a suffix). applicable as external capacitor connection pins for products of the MB89160a series (with a suffix). parameter symbol pin condition value unit remarks min. typ. max. open-drain output leakage current i lo1 p20 to p27, p32, p33, p40 to p47, p60 to p67, p70, p71 0.45 v < v i < 6.0 v 1 m a without pull- up resistor i lo2 p50 to p57 0.45 v < v i < v cc 1 m a without pull- up resistor pull-up resistance r pull p00 to p07, p10 to p17, p20 to p27, p40 to p47, p50 to p57, p60 to p67, rst v i = 0.0 v 25 50 100 k w with pull-up resistor common output impedance r vcom com0 to com3 v1 to v3 = +5.0 v 2.5k w segment output impedance r vseg seg0 to seg24 15 k w lcd divided resistance r lcd between v cc and v0 300 500 750 k w products without a booster only lcd controller/driver leakage current i lcdl v0 to v3, com0 to com3, seg0 to seg23 1 m a booster for lcd driving output voltage v ov3 v3 v1 = 1.5 v 4.3 4.5 4.7 v products with a booster only v ov2 v2 2.9 3.0 3.1 v reference output voltage for lcd driving v ov1 v1 i in = 0 m a 1.27 1.5 1.73 v reference voltage input impedance r rin v1 600 1000 1400 k w procucts with a booster only input capacitance c in other than v cc , v ss f = 1 mhz 10 pf
34 MB89160/160a series (2) pin dc characteristics (v cc = +3.0 v) (v cc = 3.0 v, v ss = 0.0 v, t a = C40 c to +85 c) parameter symbol pin condition value unit remarks min. typ. max. h level output voltage v oh1 p00 to p07, p10 to p17 i oh = C1.0 ma 2.4 v v oh2 p30, p31 i oh = C3.0 ma 2.4 v l level output voltage v ol p00 to p07, p10 to p17, p20 to p27, p30 to p33, p40 to p47, p50 to p57, p60 to p67, p70 to p71 i ol = 1.8 ma 0.4 v v ol2 rst i ol = 1.8 ma 0.4 v v ol3 p21, p26, p27 i ol = 3.6 ma 0.4 v pull-up resistance r pull p00 to p07, p10 to p17, p20 to p27, p40 to p47, p50 to p57, p60 to p67, rst v i = 0.0 v 50 100 150 k w with pull-up resistor
35 MB89160/160a series (3) power supply current characteristics (mb8916x) (v ss = 0.0 v, t a = C40 c to +85 c) *1: the power supply current is measured at the external clock, open output pins, and the external lcd dividing resistor (or external input for the reference voltage). in the case of the mb89pv160, the current consumed by the connected eprom and ice is not included. *2: for information on t inst , see (4) instruction cycle in 4. ac characteristics. parameter symbol pin condition value unit remarks min. typ. max. power supply current *1 i cc1 v cc f ch = 4.2 mhz, v cc = 5.0 v t inst *2 = 4/f ch main clock operation mode 5.0 10.0 ma mb8916x/a, mb89pv160 8.0 15.0 ma mb89pv165 i cc2 f ch = 4.2 mhz, v cc = 3.0 v t inst *2 = 64/f ch main clock operation mode 1.52.0ma mb8916x/a, mb89pv160 2.4 2.8 ma mb89p165 i ccl f cl = 32.768 khz, v cc = 3.0 v t inst *2 = 2/f cl subclock operation mode 0.050.1ma mb8916x/a, mb89pv160 1.0 3.0 ma mb89pv165 i ccs1 f ch = 4.2 mhz, v cc = 5.0 v t inst *2 = 4/f ch main clock sleep mode 2.55.0ma mb8916x/a, mb89pv160, mb89pv165 i ccs2 f ch = 4.2 mhz, v cc = 3.0 v t inst *2 = 64/f ch main clock sleep mode 1.01.5ma i ccsl f cl = 32.768 khz, v cc = 3.0 v t inst *2 = 2/f cl subclock sleep mode 2550 m a i cct f cl = 32.768 khz, v cc = 3.0 v watch mode 1015 m a mb8916x, mb89p165-1xx, mb89pv160 i cct2 f cl = 32.768 khz, v cc = 3.0 v ?watch mode ? during reference voltage generator and booster operation 250400 m a mb8916xa, mb89p165-2xx i cch t a = +25 c, v cc = 5.0 v stop mode 0.11.0 m a mb8916x 0.110 m a mb89pv160, mb89p165-1xx i a av cc f ch = 4.2 mhz, v cc = 5.0 v 1.0 3.0 ma when a/d conversion is activated
36 MB89160/160a series 4. ac characteristics (1) reset timing (v cc = +5.0 v 10 %, v ss = 0.0 v, t a = C40 c to +85 c) (2) power-on reset (v ss = 0.0 v, t a = C40 c to +85 c) note: make sure that power supply rises within the selected oscillation stabilization time. if power supply voltage needs to be varied in the course of operation, a smooth voltage rise is recommended. parameter symbol condition value unit remarks min. max. rst l pulse width t zlzh 48 t xcyl ns rst h pulse width t zhzl 24 t xcyl ns parameter symbol condition value unit remarks min. max. power supply rising time t r 50ms power-on reset function only power supply cut-off time t off 1ms due to repeated operations 0.2 v cc 0.2 v cc 0.2 v cc 0.8 v cc rst t zlzh t zhzl 0.2 v 0.2 v 2.0 v 0.2 v t r v cc t off
37 MB89160/160a series (3) clock timing (v ss = 0.0 v, t a = C40 c to +85 c) parameter symbol pin value unit remarks min. typ. max. clock frequency f ch x0, x1 1 4.2 mhz main clock f cl x0a, x1a 32.768 khz subclock clock cycle time t hcyl x0, x1 238 1000 ns main clock t lcyl x0a, x1a 30.5 m s subclock input clock pulse width p wh p wl x0 20 ns external clock input clock rising/falling time t cr t cf x0 24 ns 0.8 v cc x0 x1 c 0 c 1 f ch open when a crystal or ceramic resonator is used when an external clock is used when the cr oscillation option is used t hcyl 0.2 v cc p wh p wl t cf t cr x0 x0 x1 c f ch r x0 x1 f ch main clock timing and conditions main clock conditions
38 MB89160/160a series (4) instruction cycle parameter symbol value (typical) unit remarks instruction cycle (minimum execution time) t inst 4/f ch , 8/f ch , 16/f ch , 64/f ch m s(4/f ch ) t inst = 1.0 m s at f ch = 4 mhz 2/f cl m st inst = 62 m s at f cl = 32.768 khz 0.8 v cc x0a x1a c 0 c 1 rd open when a crystal or ceramic oscillator is used when the single-clock option is used t lcyl x0a x0a x1a f cl subclock timing and conditions subclock conditions
39 MB89160/160a series (5) serial i/o timing (v cc = +5.0 v 10%, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for information on t inst , see (4) instruction cycle. parameter symbol pin condition value unit remarks min. max. serial clock cycle time t scyc sck internal clock operation 2 t inst * m s sck ? so time t slov sck, so C200 200 ns valid si ? sck - t ivsh si, sck 1/2 t inst * m s sck - ? valid si hold time t shix sck, si 1/2 t inst * m s serial clock h pulse width t shsl sck external clock operation 1 t inst * m s serial clock l pulse width t slsh 1 t inst * m s sck ? so time t slov sck, so 0 200 ns valid si ? sck - t ivsh si, sck 1/2 t inst * m s sck - ? valid si hold time t shix sck, si 1/2 t inst * m s 0.2 v cc 0.8 v cc t slsh 2.4 v 0.2 v cc 0.8 v cc 0.8 v 0.8 v cc 0.2 v cc 0.8 v cc sck so si 0.2 v cc t shsl t shix t ivsh t slov external clock operation 0.8 v 2.4 v t scyc 2.4 v 0.2 v cc t shix 0.8 v 0.8 v t ivsh 0.8 v cc 0.2 v cc 0.8 v cc sck so si t slov internal clock operation
40 MB89160/160a series (6) peripheral input timing (v cc = +5.0 v 10%, av ss = v ss = 0.0 v, t a = C40 c to +85 c) * : for information on t inst, see (4) instruction cycle. parameter symbol pin value unit remarks min. max. peripheral input h pulse width 1 t ilih1 int10 to int13, ec 1 t inst * m s peripheral input l pulse width 1 t ihil1 1 t inst * m s peripheral input h pulse width 2 t ilih2 int20 to int27 2 t inst * m s peripheral input l pulse width 2 t ihil2 2 t inst * m s 0.2 v cc 0.8 v cc t ihil1 0.8 v cc int10 to 13, ec 0.2 v cc t ilih1 0.2 v cc 0.8 v cc t ihil2 0.8 v cc int20 to 27 0.2 v cc t ilih2
41 MB89160/160a series 5. a/d converter electrical characteristics (3 mhz, av cc = v cc = +3.5 v to +6.0 v, av ss = v ss = 0.0 v, t a = C40 c to +85 c) (1) a/d glossary ? resolution analog changes that are identifiable with the a/d converter. when the number of bits is 8, analog voltage can be divided into 2 8 =256. ? linearity error (unit: lsb) the deviation of the straight line connecting the zero transition point (0000 0000 ? 0000 0001) with the full-scale transition point (1111 1111 ? 1111 1110) from actual conversion characteristics ? differential linearity error (unit: lsb) the deviation of input voltage needed to change the output code by 1 lsb from the theoretical value ? total error (unit: lsb) the difference between theoretical and actual conversion values parameter symbol pin condition value unit remarks min. typ. max. resolution 8bit total error avr = av cc 1.5 lsb linearity error 1.0 lsb differential linearity error 0.9 lsb zero transition voltage v ot av ss C 1.0 lsb av ss + 0.5 lsb av ss + 2.0 lsb mv full-scale transition voltage v fst avr C 3.0 lsb avr C 1.5 lsb avr mv interchannel disparity 0.5lsb a/d mode conversion time 44 t inst m s sense mode conversion time 12 t inst m s analog port input current i ai an0 to an7 10 m a analog input voltage 0.0 avr v reference voltage avr 2.0 av cc v reference voltage supply current i r avr = 5.0 v, when a/d conversion is activated 100 m a i rh avr = 5.0 v, when a/d conversion is stopped 1 m a
42 MB89160/160a series (2) precautions ? input impedance of analog input pins the a/d converter contains a sample hold circuit as illustrated below to fetch analog input voltage into the sample hold capacitor for eight instruction cycles after activating a/d conversion. for this reason, if the output impedance of the external circuit for the analog input is high, analog input voltage might not stabilize within the analog input sampling period. therefore, it is recommended to keep the output impedance of the external circuit low (below 10 k w ). note that if the impedance cannot be kept low, it is recommended to connect an external capacitor of about 0.1 m f for the analog input pin. ?error the smaller the |avr C av ss |, the greater the error would become relatively. v ot analog input linearity error = actual conversion value 1 lsb = 256 digital output avr theoretical conversion value (1 lsb n + v ot ) v nt v fst v (n + 1)t - 1 1 lsb v nt - (1 lsb n + v ot ) defferential linearity error = 1 lsb v (n+1)t - v nt total error = 1 lsb v nt - (1 lsb n + 1 lsb) linearity error 1111 1111 1111 1110 0000 0010 0000 0001 0000 0000 analog input pin sample hold circuit c = 33 pf if the analog input impedance is higher than 10 k w , it is recommended to connect an external capacitor of approx. 0.1 m f. comparator r = 6 k w analog channel selector close for 8 instruction cycles after activating a/d conversion. . . . . analog input equivalent circuit
43 MB89160/160a series n example characteristics 0 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 ? ? ? ? ? v cc = 2.0 v i oh (ma) v cc = 2.5 v v cc = 4.0 v v cc = 3.0 v v cc = 5.0 v v cc = 6.0 v t a = +25 c v cc ? v oh1 vs. i oh v cc ?v oh1 (v) 0 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 ? ? ? ? ?0 v cc = 2.0 v i oh (ma) v cc = 2.5 v v cc = 4.0 v v cc = 3.0 v v cc = 5.0 v v cc = 6.0 v ? ? ? ? ? t a = +25 c v cc ? v oh2 vs. i oh v cc ?v oh2 (v) 0 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 4 8 12 16 20 v cc = 2.0 v i ol (ma) v cc = 2.5 v v cc = 3.0 v v cc = 4.0 v v cc = 5.0 v v cc = 6.0 v 2 6 10 14 18 t a = +25 c v ol2 vs. i ol v ol2 (v) (1) l level output voltage (2) h level output voltage 0 0.6 0.5 0.4 0.3 0.2 0.1 0 i ol (ma) 246810 v cc = 2.0 v v cc = 3.0 v 13579 v cc = 4.0 v v cc = 5.0 v v cc = 6.0 v v cc = 2.5 v t a = +25 c v ol1 vs. i ol v ol1 (v)
44 MB89160/160a series (continued) (3) h level input voltage/l level input voltage (4) power supply current (external clock) 1234567 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 v cc (v) 1234567 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 v ihs v ils v cc (v) t a = +25 c t a = +25 c cmos input cmos hysteresis input v in (v) v in (v) v ihs : threshold when input voltage in hysteresis characteristics is set to ??level v ils : threshold when input voltage in hysteresis characteristics is set to ??level 1 0 1234567 v cc (v) i cc1 vs. v cc (mask rom products) i cc1 (ma) 2 3 4 5 6 7 t a = +25 c f ch = 4.2 mhz f ch = 3 mhz f ch = 1 mhz 0 1234567 v cc (v) i cc2 vs. v cc (mask rom products) i cc2 (ma) 1.0 2.0 t a = +25 c f ch = 4.2 mhz f ch = 3 mhz f ch = 1 mhz
45 MB89160/160a series (continued) 0 1234567 v cc (v) i cc1s vs.v cc (mask rom products) i cc1s (ma) 1.0 2.0 t a = +25 c 3.0 f ch = 4.2 mhz f ch = 3 mhz f ch = 1 mhz 0 1234567 v cc (v) i cc2s vs. v cc (mask rom products) i cc2s (ma) 1.0 2.0 t a = +25 c f ch = 4.2 mhz f ch = 3 mhz f ch = 1 mhz 200 180 160 140 120 100 80 60 40 20 0 1234567 v cc (v) i ccl vs. v cc (mask rom products) f cl = 32.768 khz t a = +25 c i ccl ( m a) 30 0 1234567 25 20 15 10 5 v cc (v) i cct vs. v cc f cl = 32.768 khz t a = +25 c i cct ( m a)
46 MB89160/160a series (continued) ir ( m a) avr (v) 0 1.5 2 20 40 60 80 100 120 140 160 180 200 ir vs. avr 2.5 3 3.5 4 4.5 5 5.5 6 6.5 t a = +25 c i a (ma) av cc (v) 0 1.5 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 i a vs. av cc 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 t a = +25 c f ch = 4 mhz 1234567 1,000 v cc (v) 10 50 500 100 t a = +25 c t a = +85 c t a = ?0 c r pull (k w ) r pull vs. v cc (5) pull-up resistance 200 180 160 140 120 100 80 60 40 20 0 1234567 v cc (v) i ccsl vs. v cc f cl = 32.768 khz t a = +25 c i ccsl ( m a) 1,000 900 800 700 600 500 400 300 200 100 0 1234567 v cc (v) i cct2 vs. v cc f cl = 32.768 khz t a = +25 c i cct2 ( m a)
47 MB89160/160a series n mask options part number mb89161/3/5 mb89p165 mb89pv160 specifying procedure specify when ordering masking set with eprom programmer setting not possible pull-up resistors (seg) p00 to p07, p10 to p17, p20 to p27, p40 to p47, p50 to p57, p60 to p67 slectable per pin (the pull-up resistors for p40 to p47 and p60 to p67 are only selectable when these pins are not set as segment outputs. when the a/d is used, p50 to p57 are must not selected.) can be set per pin (p20 to p27, p40 to p47, and p60 to p67 are available only for without a pull-up resistor.) fixed to without pull-up resistor power-on reset (por) with power-on reset without power-on reset selectable selectable fixed to with power-on reset selection of oscillation stabilization time (osc) ? the initial value of the oscillation stabilization time for the main clock can be set by selecting the values of the wtm1 and wtm0 bits on the right. selectable osc 0 : 2 2 /f ch 1 : 2 12 /f ch 2 : 2 16 /f ch 3 : 2 18 /f ch selectable wtm1 wtm0 0 0 : 2 2 /f ch 0 1 : 2 12 /f ch 1 0 : 2 16 /f ch 1 1 : 2 18 /f ch fixed to oscillation stabilization time of 2 16 /f ch main clock oscillation type (xsl) crystal or ceramic resonator cr selectable crystal or ceramic only fixed to crystal or ceramic reset pin output (rst) with reset output without reset output selectable selectable fixed to with reset output clock mode selection (clk) dual-clock mode single-clock mode selectable selectable fixed to dual-clock mode
48 MB89160/160a series segment options n versions no. part number mb89161/3/5 mb89p165 mb89pv160 specifying procedure specify when ordering masking select by version number select by version number 7 lcd output pin configuration choices specify by the option combinations listed below seg = 4: p40 to p47 segment output p60 to p67 segment output p70, p71 common output specify as seg = 4 C101 : seg 24 pins C201 com 4 pins C101 : seg 24 pins com 4 pins seg = 3: p40 to p43 segment output p44 to p47 port output p60 to p67 segment output p70, p71 common output specify as seg = 3 C102 : seg 20 pins C202 com 4 pins C102 : seg 20 pins com 4 pins seg = 2: p40 to p47 port output p60 to p67 segment output p70, p71 common output specify as seg = 2 C103 : seg 16 pins C203 com 4 pins C103 : seg 16 pins com 4 pins seg = 1: p40 to p47 port output p60 to p63 segment output p64 to p67 port output p70, p71 port output specify as seg = 1 C104 : seg 12 pins com 2 pins C104 : seg 12 pins com 2 pins seg = 0: p40 to p47 port output p60 to p67 port output p70, p71 port output specify as seg = 0 C105 : seg 8 pins com 2 pins C105 : seg 8 pins com 2 pins version features mass production product one-time prom product eprom product piggyback/ evaluation product number of seg- ment pins booster MB89160a series mb89p165-201 -202 -203 mb89w165-201 -202 -203 24 (4 commons) 20 (4 commons) 16 (4 commons) yes MB89160 series mb89p165-101 -102 -103 -104 -105 mb89w165-101 -102 -103 -104 -105 mb89pv160- 101 -102 -103 -104 -105 24 (4 commons) 20 (4 commons) 16 (4 commons) 12 (2 commons) 8 (2 commons) no
49 MB89160/160a series n ordering information note: for information on , see section n versions. part number package remarks mb89161-pfv mb89161a-pfv mb89163-pfv mb89163a-pfv mb89165-pfv mb89165a-pfv mb89p165- -pfv 80-pin plastic l qfp (fpt-80p-m05) mb89161-pf mb89161a-pf mb89163-pf mb89163a-pf mb89165-pf mb89165a-pf mb89p165- -pf 80-pin plastic qfp (fpt-80p-m06) mb89161-pfm mb89161a-pfm mb89163-pfm mb89163a-pfm mb89165-pfm mb89165a-pfm mb89p165- -pfm 80-pin plastic lqfp (fpt-80p-m11) mb89w165- -pf 80-pin ceramic qfp (fpt-80c-a02) mb89pv160- -pf 80-pin ceramic mqfp (mqp-80c-p01)
n package dimensions c 2000 fujitsu limited f80008s-c-3-7 120 40 21 60 41 80 61 index 12.00?.10(.472?004)sq 14.00?.20(.551?008)sq 0.50(.020) 0.20?.05 (.008?002) m 0.08(.003) 0.145?.055 (.006?002) 0.08(.003) "a" 0?8 .059 ?004 +.008 ?.10 +0.20 1.50 0.50?.20 (.020?008) 0.60?.15 (.024?006) 0.10?.10 (.004?004) (stand off) 0.25(.010) details of "a" part lead no. (mounting height) dimensions in mm (inches). 80-pin plastic lqfp (fpt-80p-m05) c 2001 fujitsu limited f80010s-c-4-4 1 24 25 40 41 64 65 80 20.00?.20(.787?008) 23.90?.40(.941?016) 14.00?.20 (.551?008) 17.90?.40 (.705?016) index 0.80(.031) 0.37?.05 (.015?002) m 0.20(.008) "a" 0.17?.06 (.007?002) 0.10(.004) 0.80?.20 (.031?008) 0.88?.15 (.035?006) 0~8 .120 ?008 +.012 ?.20 +0.30 3.05 0.25(.010) 0.30 +0.10 ?.25 +.004 ?010 .012 (stand off) details of "a" part (mounting height) dimensions in mm (inches). 80-pin plastic qfp (fpt-80p-m06) 50 MB89160/160a series
51 MB89160/160a series c 2000 fujitsu limited f80016s-1c-4 0.13(.005) m 1 pin index .059 ?004 +.008 ?.10 +0.20 1.50 "a" details of "a" part 0 10 0.50?.20 0.10?.10 (.004?004) (.020?008) (stand off) 16.00?.20(.630?008)sq 14.00?.10(.551?004)sq 0.65(.0256)typ 0.30?.10 (.012?004) 0.127 +0.05 ?.02 +.002 ?001 .005 12.35 15.00 (.486) ref (.591) nom 20 21 40 1 80 61 41 60 lead no. (mounting height) 0.10(.004) dimensions in mm (inches). 80-pin plastic lqfp (fpt-80p-m11) c 1994 fujitsu limited f80014sc-1-2 index area 14.00?.25 17.91(.705) typ (.551?010) 16.00(.630) typ 16.31(.642) typ 12.00(.472) ref 0.51(.020) typ 4.45(.175)max 0.15?.05 (.006?002) 23.90(.941) typ 20.00?.25 (.787?010) 18.40(.725) ref (.0315?0040) 0.80?.10 (.014?003) 1.60(.063) typ 22.00(.866) typ 22.30(.878) typ 0.80(.0315) typ 8.50(.335)typ 0.35 +0.08 ?.07 (.0315?0040) 0.80?.10 dimensions in mm (inches). 80-pin ceramic qfp (fpt-80c-a02)
(contin u ed) c 1994 fujitsu limited m80001sc-4-2 15.58?.20 (.613?008) 16.30?.33 (.642?013) 18.70(.736)typ index area 0.30(.012) typ 1.27?.13 (.050?005) 22.30?.33 (.878?013) 24.70(.972) typ 10.16(.400) typ 12.02(.473) typ 14.22(.560) typ 18.12?.20 (.713?008) 1.27?.13 (.050?005) 0.30(.012)typ 7.62(.300)typ 9.48(.373)typ 11.68(.460)typ 0.15?.05 (.006?002) 8.70(.343) max 0.40?.10 (.016?004) .047 ?008 +.016 ?.20 +0.40 1.20 0.40?.10 (.016?004) 18.40(.724) ref 0.80?.25 (.0315?010) 12.00(.472)typ .047 ?008 +.016 ?.20 +0.40 1.20 0.80?.25 (.0315?010) 1.50(.059) typ 1.00(.040) typ 1.00(.040)typ 1.50(.059)typ index area 6.00(.236) typ 4.50(.177) typ index dimensions in mm (inches). 80-pin ceramic mqfp (mqp-80c-p01) 52 MB89160/160a series
MB89160/160a series fujitsu limited all rights reserved. the contents of this document are subject to change without notice. customers are advised to consult with fujitsu sales representatives before ordering. the information and circuit diagrams in this document are presented as examples of semiconductor device applications, and are not intended to be incorporated in devices for actual use. also, fujitsu is unable to assume responsibility for infringement of any patent rights or other rights of third parties arising from the use of this information or circuit diagrams. the products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for use accompanying fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for use requiring extremely high reliability (i.e., submersible repeater and artificial satellite). please note that fujitsu will not be liable against you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. any semiconductor devices have an inherent chance of failure. you must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. if any products described in this document represent goods or technologies subject to certain restrictions on export under the foreign exchange and foreign trade law of japan, the prior authorization by japanese government will be required for export of those products from japan. f 0201 ? fujitsu limited printed in japan


▲Up To Search▲   

 
Price & Availability of MB89160

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X